package com.shanghaionstar.navi.base;

import android.content.Context;

import com.shanghaionstar.navi.mvpview.MvpView;

public abstract class BasePresenter<T extends MvpView> {

    Context mContext;

    T mView;

    public void attach(Context context, T view) {
        mContext = context;
        mView = view;
    }

    public void detach() {
        mView = null;
        mContext= null;
    }
}
